import request from "@/utils/request";
export function fetchList(params) {
  return request({
    url: "/ums/UmsMemberApply/list",
    method: "get",
    params: params
  });
}

export function createUmsMemberApply(data) {
  return request({
    url: "/ums/UmsMemberApply/create",
    method: "post",
    data: data
  });
}

export function deleteUmsMemberApply(id) {
  return request({
    url: "/ums/UmsMemberApply/delete/" + id,
    method: "get"
  });
}

export function getUmsMemberApply(id) {
  return request({
    url: "/ums/UmsMemberApply/" + id,
    method: "get"
  });
}

export function updateUmsMemberApply(id, data) {
  return request({
    url: "/ums/UmsMemberApply/update/" + id,
    method: "post",
    data: data
  });
}
